package com.inter.entity.interentity.pay.wxscan.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
@Setter
@Getter
public class ResponseWeiXinScanPayTradeData implements Serializable {

    @ApiModelProperty(value = "调用接口提交的交易类型，取值如下：JSAPI，NATIVE，APP，详细说明见参数规定", example = "NATIVE", dataType = "String")
    private String trade_type;

    @ApiModelProperty(value = "微信生成的预支付回话标识，用于后续接口调用中使用，该值有效期为2小时", example = "wx201410272009395522657a690389285100", dataType = "String")
    private String prepay_id;

    @ApiModelProperty(value = "trade_type为NATIVE时有返回，用于生成二维码，展示给用户进行Native支付,用于生成二维码的链接", example = "weixin//wxpay/s/An4baqw", dataType = "String")
    private String code_url;

    @ApiModelProperty(value = "订单id", example = "201585645656544",dataType = "String")
    private String orderId;
}
